/* Unified Control Panel Styles */
.unified-control-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 3px solid #3498db;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 8px 40px rgba(52, 152, 219, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 12px 12px;
}

.unified-control-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #3498db 20%,
    #2ecc71 40%,
    #e74c3c 60%,
    #f39c12 80%,
    transparent 100%
  );
  animation: panelGlow 3s ease-in-out infinite;
}

@keyframes panelGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.unified-control-panel.collapsed {
  height: 60px;
}

/* Header with tabs */
.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(52, 152, 219, 0.1);
  border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.tab-navigation {
  display: flex;
  gap: 5px;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 2px solid rgba(52, 152, 219, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9em;
  color: #2c3e50;
  position: relative;
  overflow: hidden;
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.tab-button:hover {
  background: rgba(52, 152, 219, 0.15);
  border-color: rgba(52, 152, 219, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.tab-button:hover::before {
  left: 100%;
}

.tab-button.active {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border-color: #2980b9;
  box-shadow:
    0 4px 15px rgba(52, 152, 219, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.tab-button.active::before {
  display: none;
}

.tab-icon {
  font-size: 1.1em;
}

.tab-label {
  font-weight: 500;
}

.collapse-button {
  padding: 8px 12px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.collapse-button:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

/* Content area */
.control-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 70vh;
    transform: translateY(0);
  }
}

/* Tab content */
.tab-content {
  width: 100%;
}

/* Controls Tab */
.controls-tab .content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.control-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #ecf0f1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid #ecf0f1;
  margin-bottom: 10px;
}

.section-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.1em;
}

.dropdown-arrow {
  color: #3498db;
  transition: transform 0.3s ease;
}

.dropdown-arrow.expanded {
  transform: rotate(180deg);
}

.section-content {
  margin-top: 10px;
}

.control-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 4px;
}

.control-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  color: #2c3e50;
}

.control-item input[type="range"] {
  flex: 1;
  margin: 0 10px;
}

.control-item input[type="color"] {
  width: 40px;
  height: 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.export-buttons {
  display: flex;
  gap: 10px;
}

.export-buttons button {
  flex: 1;
  padding: 10px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.export-buttons button:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

/* Telemetry Tab */
.telemetry-tab .telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.telemetry-section {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.telemetry-section h4 {
  margin: 0 0 10px 0;
  color: #00bfff;
  font-size: 1em;
  border-left: 3px solid #00bfff;
  padding-left: 8px;
}

.status-indicators {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-indicator {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: bold;
}

.status-indicator.flying {
  background: #4CAF50;
  color: white;
}

.status-indicator.grounded {
  background: #757575;
  color: white;
}

.status-indicator.auto {
  background: #2196f3;
  color: white;
}

.status-indicator.manual {
  background: #ff9800;
  color: white;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.data-item .label {
  color: #cccccc;
  font-size: 0.8em;
}

.data-item .value {
  color: #00ff00;
  font-weight: bold;
  font-size: 0.9em;
}

.status-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-label {
  min-width: 80px;
  font-size: 0.8em;
  color: #cccccc;
}

.progress-bar {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 6px;
}

.mission-progress-fill {
  background: linear-gradient(90deg, #00bfff, #0080ff);
}

.status-value {
  min-width: 40px;
  text-align: right;
  font-size: 0.8em;
  font-weight: bold;
}

.mission-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 6px;
}

.mission-name {
  font-weight: bold;
  color: #00bfff;
  margin-bottom: 4px;
}

.mission-progress {
  font-size: 0.9em;
  color: #cccccc;
}

/* Responsive design */
@media (max-width: 768px) {
  .control-header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .tab-navigation {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-button {
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .tab-label {
    display: none;
  }

  .control-content {
    padding: 15px;
    max-height: 60vh;
  }

  .controls-tab .content-grid {
    grid-template-columns: 1fr;
  }

  .telemetry-tab .telemetry-grid {
    grid-template-columns: 1fr;
  }
}

/* Scrollbar styling */
.control-content::-webkit-scrollbar {
  width: 6px;
}

.control-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.control-content::-webkit-scrollbar-thumb {
  background: rgba(52, 152, 219, 0.5);
  border-radius: 3px;
}

.control-content::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 152, 219, 0.7);
}

/* Mission Tab */
.mission-tab .mission-content {
  max-width: 1200px;
  margin: 0 auto;
}

.control-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 10px;
}

.control-tabs .tab {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
  color: #2c3e50;
}

.control-tabs .tab:hover {
  background: rgba(52, 152, 219, 0.1);
  border-color: #3498db;
}

.control-tabs .tab.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.mission-section {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #ecf0f1;
}

.mission-section h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 1.2em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
}

.mission-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-size: 0.9em;
  background: white;
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.mission-item {
  padding: 15px;
  border: 2px solid #ecf0f1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.mission-item:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.mission-item.selected {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.mission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mission-header h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.1em;
}

.mission-type {
  padding: 4px 8px;
  background: #3498db;
  color: white;
  border-radius: 4px;
  font-size: 0.7em;
  text-transform: uppercase;
}

.mission-details p {
  margin: 0 0 8px 0;
  color: #34495e;
  font-size: 0.9em;
}

.mission-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.mission-stats span {
  font-size: 0.8em;
  color: #7f8c8d;
}

.mission-controls,
.flight-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.control-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.control-btn.start {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.control-btn.stop {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.control-btn.takeoff {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.control-btn.land {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.control-btn.emergency {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: 2px solid #c0392b;
}

.control-btn.reset {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: white;
}

.control-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 6px;
}

.status-item span:first-child {
  font-weight: 500;
  color: #2c3e50;
}

.status-item span.flying {
  color: #27ae60;
  font-weight: bold;
}

.status-item span.grounded {
  color: #7f8c8d;
  font-weight: bold;
}

.status-item span.auto {
  color: #3498db;
  font-weight: bold;
}

.status-item span.manual {
  color: #f39c12;
  font-weight: bold;
}

/* Formation Tab */
.formation-tab .formation-content {
  max-width: 1200px;
  margin: 0 auto;
}

.formation-section {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px;
  border: 2px solid #3498db;
}

.formation-section h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 1.2em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.pattern-item {
  padding: 15px;
  border: 2px solid #ecf0f1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-align: center;
}

.pattern-item:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.pattern-item.selected {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.pattern-name {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1em;
}

.pattern-description {
  font-size: 0.8em;
  color: #7f8c8d;
}

.parameter-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.parameter-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 6px;
}

.parameter-item label {
  min-width: 80px;
  font-size: 0.9em;
  color: #2c3e50;
  font-weight: 500;
}

.parameter-item input[type="range"] {
  flex: 1;
  margin: 0 10px;
}

.parameter-item span {
  min-width: 50px;
  text-align: right;
  font-size: 0.9em;
  color: #7f8c8d;
  font-weight: 600;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.formation-section .status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #ecf0f1;
}

.status-label {
  font-size: 0.8em;
  color: #7f8c8d;
  margin-bottom: 8px;
  text-align: center;
}

.formation-section .status-value {
  font-size: 1.1em;
  font-weight: 600;
  color: #2c3e50;
}

.formation-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Keyboard Tab */
.keyboard-tab .keyboard-content {
  max-width: 1000px;
  margin: 0 auto;
}

.keyboard-section {
  margin-bottom: 25px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.keyboard-section h3 {
  margin: 0 0 15px 0;
  color: #00bfff;
  font-size: 1.1em;
  border-left: 3px solid #00bfff;
  padding-left: 10px;
}

.control-status {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
  display: inline-block;
}

.control-status.enabled {
  background: #4CAF50;
  color: white;
}

.control-status.disabled {
  background: #f44336;
  color: white;
}

.key-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.key-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.key-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: default;
  transition: all 0.2s ease;
  user-select: none;
}

.key-button.active {
  background: rgba(0, 255, 0, 0.3);
  border-color: #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  transform: scale(1.05);
}

.key-button.action-key {
  background: rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.5);
}

.key-button.action-key.active {
  background: rgba(0, 123, 255, 0.4);
  border-color: #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

.key-button.emergency-key {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
}

.key-button.emergency-key.active {
  background: rgba(255, 0, 0, 0.4);
  border-color: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.key-label {
  font-size: 0.9em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
}

.key-action {
  font-size: 0.7em;
  color: #cccccc;
  text-align: center;
  line-height: 1.2;
}

.movement-grid .key-button {
  min-width: 55px;
  min-height: 45px;
}

.altitude-grid,
.rotation-grid {
  flex-direction: row;
  justify-content: space-around;
}

.altitude-grid .key-button,
.rotation-grid .key-button {
  flex: 1;
  max-width: 120px;
}

.actions-grid {
  gap: 8px;
}

.actions-grid .key-button {
  width: 100%;
  min-height: 45px;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keyboard-section .status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.keyboard-section .status-label {
  font-size: 0.9em;
  color: #cccccc;
}

.keyboard-section .status-value {
  font-size: 0.9em;
  font-weight: bold;
}

.keyboard-section .status-value.flying {
  color: #4CAF50;
}

.keyboard-section .status-value.grounded {
  color: #ff9800;
}

.keyboard-section .status-value.auto {
  color: #2196f3;
}

.keyboard-section .status-value.manual {
  color: #00ff00;
}

.instructions {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #00bfff;
}

.instructions p {
  margin: 0 0 10px 0;
  color: #cccccc;
  font-size: 0.9em;
  line-height: 1.4;
}

.instructions strong {
  color: #ffffff;
}

/* Environment Tab */
.environment-tab .environment-content {
  max-width: 1200px;
  margin: 0 auto;
}

.environment-section {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px;
  border: 2px solid #27ae60;
}

.environment-section h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 1.2em;
  border-bottom: 2px solid #27ae60;
  padding-bottom: 8px;
}

.feature-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  padding: 15px;
  background: rgba(39, 174, 96, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.feature-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  color: #2c3e50;
}

.feature-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #27ae60;
}

.feature-label {
  font-size: 1em;
  color: #2c3e50;
}

.feature-description {
  margin: 8px 0 0 28px;
  font-size: 0.85em;
  color: #7f8c8d;
  line-height: 1.4;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #ecf0f1;
}

.info-label {
  font-size: 0.8em;
  color: #7f8c8d;
  margin-bottom: 8px;
  text-align: center;
}

.info-value {
  font-size: 1.1em;
  font-weight: 600;
  color: #27ae60;
}

.preset-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.preset-btn {
  padding: 15px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.preset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.preset-btn.urban {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  color: white;
}

.preset-btn.natural {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.preset-btn.training {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.preset-btn.mixed {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

.safety-section {
  border-color: #e74c3c;
}

.safety-section h3 {
  border-bottom-color: #e74c3c;
  color: #e74c3c;
}

.safety-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(231, 76, 60, 0.05);
  border-radius: 6px;
  border-left: 4px solid #e74c3c;
}

.safety-icon {
  font-size: 1.2em;
  min-width: 24px;
  text-align: center;
}

.safety-item span:last-child {
  color: #2c3e50;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Camera Tab Styles */
.camera-tab {
  padding: 20px;
}

.camera-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.camera-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.camera-section h3 {
  margin: 0 0 15px 0;
  color: #87CEEB;
  font-size: 1.1em;
}

.camera-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E0E0E0;
  font-size: 0.9em;
  cursor: pointer;
}

.control-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #87CEEB;
}

.camera-tab .preset-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.camera-tab .preset-btn {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(135, 206, 235, 0.1));
  border: 1px solid rgba(135, 206, 235, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  color: #87CEEB;
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  flex-direction: row;
  justify-content: center;
}

.camera-tab .preset-btn:hover {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.3), rgba(135, 206, 235, 0.2));
  border-color: rgba(135, 206, 235, 0.5);
  transform: translateY(-1px);
}

.camera-tab .preset-btn.follow {
  border-color: rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.camera-tab .preset-btn.follow:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(46, 204, 113, 0.2));
  border-color: rgba(46, 204, 113, 0.5);
}

.camera-tab .preset-btn.overview {
  border-color: rgba(52, 152, 219, 0.3);
  color: #3498db;
}

.camera-tab .preset-btn.overview:hover {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(52, 152, 219, 0.2));
  border-color: rgba(52, 152, 219, 0.5);
}

.camera-tab .preset-btn.cinematic {
  border-color: rgba(155, 89, 182, 0.3);
  color: #9b59b6;
}

.camera-tab .preset-btn.cinematic:hover {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(155, 89, 182, 0.2));
  border-color: rgba(155, 89, 182, 0.5);
}

.camera-tab .preset-btn.responsive {
  border-color: rgba(230, 126, 34, 0.3);
  color: #e67e22;
}

.camera-tab .preset-btn.responsive:hover {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.3), rgba(230, 126, 34, 0.2));
  border-color: rgba(230, 126, 34, 0.5);
}

.instructions-section .instructions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instruction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.instruction-icon {
  font-size: 1.2em;
  width: 24px;
  text-align: center;
}

.instruction-item span:last-child {
  color: #E0E0E0;
  font-size: 0.85em;
}
